﻿<Window 
    x:Class="FB2er.View.About"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="About"
    SizeToContent="WidthAndHeight"
    WindowStartupLocation="CenterOwner"
    >
    <StackPanel Margin="36">
        <StackPanel.Resources>
            <Style x:Key="commonStyle" TargetType="{x:Type FrameworkElement}">
                <Setter Property="HorizontalAlignment" Value="Center"/>
                <Setter Property="Margin" Value="16"/>
            </Style>
<!--            <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource commonStyle}"/>-->
        </StackPanel.Resources>
        <Image 
            Style="{StaticResource commonStyle}"
            Source="/FB2er;component/Image/Orb256.png" 
            Stretch="None" />
        <TextBlock Text="FB2 book reader"/>
        <TextBlock Text="Copyright © 2010 Sergey Aldoukhov"/>
        <TextBlock x:Name="tbVersion"/>
        <TextBlock Style="{StaticResource commonStyle}">
            <Hyperlink 
                NavigateUri="http://fb2er.codeplex.com"
                RequestNavigate="Hyperlink_RequestNavigate">http://fb2er.codeplex.com</Hyperlink>
        </TextBlock>
        <Button 
            Style="{StaticResource commonStyle}"
            Width="60"
            Content="_Close" 
            IsCancel="True" 
            Click="ExecuteClose" 
            HorizontalAlignment="Center"/>
    </StackPanel>
</Window>
